package com.gxuwz.weather.model;

public class CityWeatherDisplayItem {
    private String cityName;
    private String currentTemperature; // 比如 "28°"
    private String weatherCondition;   // 比如 "晴间多云"
    private String highTemperature;    // 比如 "最高 33°"
    private String lowTemperature;     // 比如 "最低 23°"
    private String displayTime;        // 现在时间
    private String alertMessage;       // 比如 "台风及其他1则", 如果没有则为null或空字符串
    private boolean isMyCurrentLocation;

    public CityWeatherDisplayItem(String cityName, String currentTemperature, String weatherCondition,
                                  String highTemperature, String lowTemperature, String displayTime,
                                  String alertMessage, boolean isMyCurrentLocation) {
        this.cityName = cityName;
        this.currentTemperature = currentTemperature;
        this.weatherCondition = weatherCondition;
        this.highTemperature = highTemperature;
        this.lowTemperature = lowTemperature;
        this.displayTime = displayTime;
        this.alertMessage = alertMessage;
        this.isMyCurrentLocation = isMyCurrentLocation;
    }

    // --- Getter 方法 ---
    public String getCityName() {
        return cityName;
    }

    public String getCurrentTemperature() {
        return currentTemperature;
    }

    public String getWeatherCondition() {
        return weatherCondition;
    }

    public String getHighTemperature() {
        return highTemperature;
    }

    public String getLowTemperature() {
        return lowTemperature;
    }

    public String getDisplayTime() {
        return displayTime;
    }

    public String getAlertMessage() {
        return alertMessage;
    }

    public boolean isMyCurrentLocation() {
        return isMyCurrentLocation;
    }
}
